package com.aishua.fire.jpa;

import java.util.List;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import com.aishua.fire.jpa.entity.Dictionary;

public interface DictionaryDao extends JpaRepository<Dictionary, Long>,JpaSpecificationExecutor<Dictionary> {

	@Query(value = "select * from is_dict_info where team_value = ?1 and status = ?2",nativeQuery = true)
	List<Dictionary> getDictName(String teamValue,String status);
	
}
